# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Valute)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Valute_SRCS valuteplugin.cpp valute.cpp)
QT4_WRAP_CPP(Valute_SRCS valuteplugin.h valute.h)
QT4_WRAP_UI(Valute_SRCS valute.ui)
QT4_ADD_RESOURCES(Valute_SRCS valute.qrc)

add_library(Valute SHARED ${Valute_SRCS})
add_dependencies(Valute KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Valute KontAMabil ${QT_LIBRARIES})

install(TARGETS Valute ${INSTALL_PLUGINS_DEFAULT_ARGS})
